<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<style>
    *{
        padding: 0;
        margin: 0;
    }

    body {
        font-size: 14px;
    }

    .error {
        color: red;
        /*1.2倍 rem相对于根标签的倍数*/
        font-size: 1.2rem;
    }

    .success {
        color:green;

    }

</style>
</body>
</html>